package common

import "encoding/json"

func ToJSON(obj any) string {
	dataJson, _ := json.MarshalIndent(obj, "", "  ")
	return string(dataJson)
}
